/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.xs_writer.entity;

import com.jeeplus.modules.xs_writer.entity.XsWriter;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 作家收入信息Entity
 * @author 天竹子
 * @version 2021-07-15
 */
@Data
public class XsWriterIncome extends DataEntity<XsWriterIncome> {
	
	private static final long serialVersionUID = 1L;
	private XsWriter writer;		// 作家名称 父类
	@ExcelField(title="稿酬", align=2, sort=2)
	private Double remuneration;		// 稿酬
	@ExcelField(title="赏金", align=2, sort=3)
	private Double bounty;		// 赏金
	@ExcelField(title="累计收入", align=2, sort=4)
	private Double totalRevenue;		// 累计收入
	
	public XsWriterIncome() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}

	public XsWriterIncome(String id){
		super(id);
	}

	public XsWriterIncome(XsWriter writer){
		this.writer = writer;
	}

}